package com.event.management.frontend.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 问卷答案DTO
 */
@Data
@ApiModel(description = "问卷答案信息")
public class QuestionnaireAnswerDTO {
    
    @ApiModelProperty(value = "问卷ID", example = "1", required = true)
    private Long questionnaireId;
    
    @ApiModelProperty(value = "活动ID", example = "1", required = true)
    private Long eventId;
    
    @ApiModelProperty(value = "用户电子票ID", example = "1", required = true)
    private Long userTicketId;
    
    @ApiModelProperty(value = "问题答案列表")
    private List<QuestionAnswerDTO> answers;
    
    /**
     * 问题答案DTO
     */
    @Data
    public static class QuestionAnswerDTO {
        
        @ApiModelProperty(value = "问题ID", example = "1", required = true)
        private Long questionId;
        
        @ApiModelProperty(value = "答案内容")
        private Object answerValue;
    }
} 